package com.py.pythink.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class Pay {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String oid;
    private Integer paymoney;//金额
    private Integer flag; //支付的类型
    private String payurl;//路径
    private Date ctime;

    public Pay(String oid, Integer paymoney, Integer flag, String payurl, Date ctime) {
        this.oid = oid;
        this.paymoney = paymoney;
        this.flag = flag;
        this.payurl = payurl;
        this.ctime = ctime;
    }
}
